package com.jyxd.web.dao.czhis;

import com.jyxd.web.data.czhisdata.Report;
import com.jyxd.web.data.czhisdata.Specimen;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 标本dao
 */
@Repository
public interface SpecimenDao {

    /**
     * 新增一条标本数据
     * @return
     */
    boolean insert(Specimen specimen);

    /**
     * 修改
     * @return
     */
    boolean update(Specimen specimen);

    /**
     * 按条件查询标本数据
     * @return
     */
    List<Report> queryList(Specimen specimen);


}
